Operator GPI

Operator Library: Hardware Platform

The operator GPI provides an interface to the digital inputs. Via parameter Pin_ID, you select the digital input (which is wired to a physical pin on a GPIO unit) you want to use for receiving a signal. The same digital inputs can be used by multiple operators.

For all platforms except the imaFlex CXP-12 Quad and imaFlex CXP-12 Penta platforms: If you use a device with several GPIO units, use parameter ConnectorType to select the GPIO unit you want to address (Front GPIO or GPIO). On the imaFlex CXP-12 Quad and imaFlex CXP-12 Penta platforms, the parameter ConnectorType is not available.

For the mapping of digital inputs and pin connectors, check the User Manual of your frame grabber.

Available for Hardware Platforms
imaFlex CXP-12 Penta
imaFlex CXP-12 Quad
mE5 marathon VCLx
mE5 marathon VCL
mE5 marathon VCX-QP
mE5 marathon VF2
LightBridge VCL
mE5 ironman VQ8-CXP6D/-CXP6B
mE5 ironman VD8-PoCL
pixelPlant 100
pixelPlant 200

I/O Properties

Property Value
Operator Type M
Output Link O, general purpose input signal to be used inside VisualApplets.

Supported Link Format

Link Parameter Output Link O
Bit Width 1
Arithmetic unsigned
Parallelism 1
Kernel Columns 1
Kernel Rows 1
Img Protocol VALT_SIGNAL
Color Format VAF_GRAY
Color Flavor FL_NONE
Max. Img Width any
Max. Img Height any

Parameters

PinID (imaFlex CXP-12 Quad platform and imaFlex CXP-12 Penta)
Type static write parameter
Default FrontGpi0
Range {FrontGpi0, FrontGpi1, FrontGpi2, FrontGpi3, ExtensionGpi0, ExtensionGpi1, ExtensionGpi2, ExtensionGpi3, ExtensionGpi4, ExtensionGpi5, ExtensionGpi6, ExtensionGpi7}

Via parameter PinID, you define the digital input (which is wired to a physical pin on a GPIO socket) you want to use for receiving a signal. The same digital inputs can be used by multiple operators.

FrontGpiN represents the GPI for the Front GPIO connector.

ExtensionGpiN represents the GPI for Extension GPIO side connector.

[Note] Availability

imaFlex CXP-12 Quad, imaFlex CXP-12 Penta

Pin_ID (mE5 platforms, pixelPlant and LightBridge VCL)
Type static write parameter
Default 0
Range [0;7] or [0;3]

Via parameter Pin_ID, you define the digital input (which is wired to a physical pin on a GPIO socket) you want to use for receiving a signal. The same digital inputs can be used by multiple operators.

[0;3] The value range is 0-3 for the Front GPIO on marathon, the Front GPIO on LightBridge, and the GPIO on LightBridge.

[0;7] For the GPIO on marathon and in all other cases, the value range is 0-7.

[Note] Availability

mE5 marathon VCLx, mE5 marathon VCL, mE5 marathon VCX-QP, mE5 marathon VF2, LightBridge VCL, mE5 ironman VQ8-CXP6D/-CXP6B, mE5 ironman VD8-PoCL, pixelPlant 100, pixelPlant 200

ConnectorType
Type static write parameter
Default GPIO
Range {FrontGPIO, GPIO}

Via parameter ConnectorType, you define which GPIO socket (GPIO or Front GPIO) you want to address with the value you enter for parameter Pin_ID.

[Note] Availability

This parameter is only available for platforms that have a Front GPIO:

  • mE5 marathon VCLx

  • mE5 marathon VCL

  • mE5 marathon VCX-QP

  • mE5 marathon VF2

  • LightBridge VCL

Examples of Use

The use of operator GPI is shown in the following examples: